package bidsanity



import grails.test.mixin.*
import org.junit.*

/**
 * See the API for {@link grails.test.mixin.web.ControllerUnitTestMixin} for usage instructions
 */
@TestFor(HomeController)
@Mock([Customer, Bid, Listing])
class HomeControllerTests {

    void testIndex() {
        def controllerResults = controller.index()
        Assert.assertNotNull(controllerResults.listingInstanceList)
        Assert.assertNotNull(controllerResults.listingInstanceTotal)
    }
}
